<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>创新创业教师管理系统</title>
	<link rel="stylesheet" type="text/css" href="style/all.css">
	<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="js/uploadPic.js"></script>
	<script language="javascript" src="plug/print/jquery.printarea.js"></script>
	<!-- 日期插件 -->
	<script type="text/javascript" src="plug/laydate/laydate.js"></script>
	<!-- 字体图标 -->
	<script src="plug/font/iconfont.js"></script>
</head>
<body>
	<div class="container_person applicate_T" id="printContainer">
		<form action="" name="applicate_teacher">
			<p class="title_a">广东石油化工学院大学生创新创业导师申请表</p>
			<table border="1" class="tab_app">
				<tr>
					<td>姓名</td>
					<td><input type="text"></td>
					<td>性别</td>
					<td><input type="text"></td>
					<td rowspan="4" style="width:130px;height:160px;padding:5px;">
						<div class="mypic" id="addCommodityIndex">
							 <div class="input-group row">
				                <div class="col-sm-9 big-photo">
				                	<div id="preview">
				                        <img id="imghead" border="0" src="images/photo_icon.png" width="130px" height="160px;" onclick="$('#previewImg').click();">
				                     </div>         
				                    <input type="file" onchange="previewImage(this)" style="display: none;" id="previewImg">
				                </div>
				            </div>
						</div>
					</td>
				</tr>
				<tr>
					<td>出生日期</td>
					<td><input type="text" name="params[teacher][work_date0][]"></td>
					<td>民族</td>
					<td><input type="text"></td>
				</tr>
				<tr>
					<td>党派</td>
					<td><input type="text"></td>
					<td>毕业院校及专业</td>
					<td><input type="text"></td>
				</tr>
				<tr>
					<td>最后学历/学位</td>
					<td><input type="text"></td>
					<td>职称</td>
					<td><input type="text"></td>
				</tr>
				<tr>
					<td>现任职务</td>
					<td><input type="text"></td>
					<td>工作单位</td>
					<td colspan="2"><input type="text"></td>
				</tr>
				<tr>
					<td>固定电话</td>
					<td><input type="text"></td>
					<td>单位网址</td>
					<td colspan="2"><input type="text"></td>
				</tr>
				<tr>
					<td>手机</td>
					<td><input type="text"></td>
					<td>微信</td>
					<td colspan="2"><input type="text"></td>
				</tr>
				<tr>
					<td>电子邮箱</td>
					<td><input type="text"></td>
					<td>QQ</td>
					<td colspan="2"><input type="text"></td>
				</tr>
				<tr>
					<td>联系地址及邮编</td>
					<td colspan="4"><input type="text"></td>
				</tr>
			</table>
			<!-- 工作经历模块 -->
			<table border="1" class="tab_app" style="border-top:0;" id="work_exp">
				<tr>
					<td style="width:20px;" rowspan="50">
						工作经历
						<div class="home email add_item">
							<svg class="icon" aria-hidden="true">
								<use xlink:href="#icon-icon-test"></use>
							</svg>
						</div>
					</td>
					<td>起止时间</td>
					<td>工作单位</td>
					<td>职务</td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date1][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date2][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][work_place][]"></td>
					<td><input type="text" name="params[teacher][work_job][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date1][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date2][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][work_place][]" ></td>
					<td><input type="text" name="params[teacher][work_job][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date1][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date2][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][work_place][]"></td>
					<td><input type="text" name="params[teacher][work_job][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date1][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date2][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][work_place][]"></td>
					<td><input type="text" name="params[teacher][work_job][]"></td>
				</tr>
			</table>
			<table border="1" class="tab_app" style="border-top:0;">
				<tr>
					<td>导师类型（可多选）</td>
					<td>
						<label for="ty1"><input type="checkbox" id="ty1">学科专业型</label>
						<label for="ty2"><input type="checkbox" id="ty2">项目评审型</label>
						<label for="ty3"><input type="checkbox" id="ty3">创业实践型</label>
						<label for="ty4"><input type="checkbox" id="ty4">教育培训型</label>
					</td>
				</tr>
			</table>
			<!-- 创业培训情况表格模块 -->
			<table border="1" class="tab_app" style="border-top:0;" id="train">
				<tr>
					<td rowspan="100" style="width:200px;">
						参与就业创业培训及获得创业导师证书情况<label for="fujian" class="fujian">添加附件<input type="file" id="fujian"></label>（如：就业指导师、SYB、KAB等）
						<div class="home email add_train">
							<svg class="icon" aria-hidden="true">
								<use xlink:href="#icon-icon-test"></use>
							</svg>
							添加表格
						</div>
					</td>
					<td>时间</td>
					<td>内容</td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date3][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date4][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][content][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date3][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date4][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][content][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date3][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date4][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][content][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date3][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date4][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][content][]"></td>
				</tr>
			</table>
			<!-- 新创企业或创新创业团队指导经历表格模块 -->
			<table border="1" class="tab_app" style="border-top:0;" id="has_exp">
				<tr>
					<td rowspan="100" style="width:200px;">
						是否有过新创企业或创新创业团队指导经历
						<div class="home email add_teach">
							<svg class="icon" aria-hidden="true">
								<use xlink:href="#icon-icon-test"></use>
							</svg>
							添加表格
						</div>
					</td>
					<td>时间</td>
					<td>新企业或创新创业团队名称</td>
					<td>获奖情况</td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date5][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date6][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][team_name][]"></td>
					<td><input type="text" name="params[teacher][reward][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date5][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date6][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][team_name][]"></td>
					<td><input type="text" name="params[teacher][reward][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date5][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date6][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][team_name][]"></td>
					<td><input type="text" name="params[teacher][reward][]"></td>
				</tr>
			</table>
			<!-- 新创企业或创新创业团队投资经历 -->
			<table border="1" class="tab_app" style="border-top:0;" id="new_exp">
				<tr>
					<td rowspan="100" style="width:200px;">
						是否有过为新创企业或创新创业团队投资经历
						<div class="home email add_invest">
							<svg class="icon" aria-hidden="true">
								<use xlink:href="#icon-icon-test"></use>
							</svg>
							添加表格
						</div>
					</td>
					<td>时间</td>
					<td>新企业或创新创业团队名称</td>
					<td>企业现状</td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date7][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date8][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][team_name_new][]"></td>
					<td><input type="text" name="params[teacher][present][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date7][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date8][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][team_name_new][]"></td>
					<td><input type="text" name="params[teacher][present][]"></td>
				</tr>
				<tr>
					<td>
						<input type="text" placeholder="选择日期" name="params[teacher][work_date7][]" style="width:80px;">到
						<input type="text" placeholder="选择日期" name="params[teacher][work_date8][]" style="width:80px;">
					</td>
					<td><input type="text" name="params[teacher][team_name_new][]"></td>
					<td><input type="text" name="params[teacher][present][]"></td>
				</tr>
			</table>
			<table border="1" class="tab_app" style="border-top:0;">
				<tr>
					<td rowspan="6" style="width:100px;">
						擅长领域
					</td>
					<td>所属行业</td>
					<td>专业特长</td>
				</tr>
				<tr>
					<td>
						<label for="good1"><input type="checkbox" id="good1">环境业</label>
						<label for="good2"><input type="checkbox" id="good2">石油化工业</label>
						<label for="good3"><input type="checkbox" id="good3">食品安全业</label>
						<label for="good4"><input type="checkbox" id="good4">制造业</label>
						<label for="good5"><input type="checkbox" id="good5">信息技术业</label>
						<label for="good6"><input type="checkbox" id="good6">旅游服务业</label>
						<label for="good7"><input type="checkbox" id="good7">交通运输业</label>
						<label for="good8"><input type="checkbox" id="good8">仓储物流业</label>
						<label for="good9"><input type="checkbox" id="good9">传媒业</label>
						<label for="good10"><input type="checkbox" id="good10">建筑房地产业</label>
						<label for="good11"><input type="checkbox" id="good11">农林牧渔业</label>
						<label for="good12"><input type="checkbox" id="good12">公共事业</label>
						<label for="good13"><input type="checkbox" id="good13">社会服务</label>
						<label for="good14"><input type="checkbox" id="good14">商贸批发业</label><br/>
						其他，请注明<input type="text" class="other">
					</td>
					<td>
						<label for="spe1"><input type="checkbox" id="spe1">企业战略制定与管理</label>
						<label for="spe2"><input type="checkbox" id="spe2">项目管理实战</label>
						<label for="spe3"><input type="checkbox" id="spe3">财务与金融管理</label>
						<label for="spe4"><input type="checkbox" id="spe4">人力资源管理</label>
						<label for="spe5"><input type="checkbox" id="spe5">管理沟通</label>
						<label for="spe6"><input type="checkbox" id="spe6">资本运营与企业并购</label>
						<label for="spe7"><input type="checkbox" id="spe7">人事构建与理念创新</label>
						<label for="spe8"><input type="checkbox" id="spe8">领导科学与艺术</label>
						<label for="spe9"><input type="checkbox" id="spe9">管理团队</label>
						<label for="spe10"><input type="checkbox" id="spe10">经济法律制度</label>
						<label for="spe11"><input type="checkbox" id="spe11">网络营销</label>
						<label for="spe12"><input type="checkbox" id="spe12">采购管理</label><br/>
						其他，请注明<input type="text" class="other">
					</td>
				</tr>
			</table>
			<table border="1" class="tab_app" style="border-top:0;">
				<tr>
					<td style="width:150px;">
						你喜欢的导师俱乐部活动（可多选）
					</td>
					<td>
						<label for="club1"><input type="checkbox" id="club1">企业战略制定与管理</label>
						<label for="club2"><input type="checkbox" id="club2">项目管理实战</label>
						<label for="club3"><input type="checkbox" id="club3">财务与金融管理</label>
						<label for="club4"><input type="checkbox" id="club4">人力资源管理</label>
						<label for="club5"><input type="checkbox" id="club5">管理沟通</label><br/>
						其他，请注明<input type="text" class="other">
					</td>
				</tr>
				<tr class="promise">
					<td>
						申请人承诺
					</td>
					<td style="text-align:right;">
						<textarea name="" id="" cols="30" rows="10" class="text">我承诺所填内容真实有效，在时间允许情况下能够服从创新创业学院工作安排，服务学生创新创业团队。
						</textarea>
						<span class="write_n">
							申请人签名<input type="text" class="other">
							日期&nbsp;<input type="text" class="other" name="params[teacher][work_date9][]">
						</span>
					</td>
				</tr>
				<tr class="promise">
					<td style="width:150px;">
						推荐单位意见
					</td>
					<td style="text-align:right;">
						<textarea name="" id="" cols="30" rows="10" class="text"></textarea>
					</td>
				</tr>
				<tr class="promise">
					<td style="width:150px;">
						创新创业学院审核意见
					</td>
					<td style="text-align:right;">
						<textarea name="" id="" cols="30" rows="10" class="text"></textarea>
					</td>
				</tr>
				<tr class="promise">
					<td style="width:150px;">
						学校审批意见
					</td>
					<td style="text-align:right;">
						<textarea name="" id="" cols="30" rows="10" class="text"></textarea>
					</td>
				</tr>
			</table>
		</form>
		<p class="warming"></p>
	</div>
	<div class="btn_p">
		<a href="creation_info_T.html" class="print back">返回</a>
		<button class="print yy">确认</button>
		<button class="print" onclick="printpage()">打印</button>
		<div class="clear"></div>
	</div>
</body>
<script>
$(function(){
	$(".yy").click(function(){
		$(".warming").html("请将所有表格填写完整！");
	})

	// add_tab()为添加一行三列的表格函数
	/*@parameter:
	where->id名称，date1->开始时间name，date2->终止时间name,input1第二列输入框name,input2->第三列输入框名称*/
	function add_tab(where,date1,date2,inputname1,inputname2){
		$("#"+where).append("<tr><td style='position:relative;'><a style='position:absolute;right:0;' href='javascript:;' class='home email del'><svg class='icon' style='color:red;' aria-hidden='true'><use xlink:href='#icon-guanbi'></use></svg></a><input type='text' placeholder='选择日期' style='width:80px;' name='"+date1+"' />到 <input type='text' placeholder='选择日期' style='width:80px;' name='"+date2+"' /></td><td><input type='text' name='"+inputname1+"'></td><td><input type='text' name='"+inputname2+"'></td></tr>")
	}

	// 添加工作经历
	$(".add_item").click(function(){
		add_tab("work_exp","params[teacher][work_date1][]","params[teacher][work_date2][]","params[teacher][work_place][]","params[teacher][work_job][]");
	})
	//是否过指导经验模块
	$(".add_teach").click(function(){
		add_tab("has_exp","params[teacher][work_date5][]","params[teacher][work_date6][]","params[teacher][team_name][]","params[teacher][reward][]");
	})
	// 添加企业投资经验模块
	$(".add_invest").click(function(){
		add_tab("new_exp","params[teacher][work_date7][]","params[teacher][work_date8][]","params[teacher][team_name_new][]","params[teacher][present][]");
	})

	//添加培训情况模块
	$(".add_train").click(function(){
		$("#train").append("<tr><td style='position:relative;'><a style='position:absolute;left:0;' href='javascript:;' class='home email del'><svg class='icon' style='color:red;' aria-hidden='true'><use xlink:href='#icon-guanbi'></use></svg></a><input type='text' placeholder='选择日期' style='width:80px;' name='params[teacher][work_date3][]' />到 <input type='text' placeholder='选择日期' style='width:80px;' name='params[teacher][work_date4][]' /></td><td><input type='text' name='params[teacher][content][]'></td></tr>")
	})

	// 调用日期
	function date(){
		laydate.render({
		  elem: '#datepicker' //指定元素
		});
	}
	//鼠标移入将input中name开头为params[teacher][work_date添加id并且调用时间函数
	$(document).on("mouseover","input[name^='params[teacher][work_date']",function(){
		$(this).attr("id","datepicker");
		date();
	})
	//鼠标移出将input中name开头为params[teacher][work_date删除id
	$(document).on("mouseleave","input[name^='params[teacher][work_date']",function(){
		$(this).removeAttr("id");
	})

	// 点击删除号删除相应的行
	$(document).on("click",".del",function(){
		$(this).parent().parent("tr").remove();
	})
})
// 调用打印函数
function printpage(){
	$("#printContainer").printArea();
}
</script>
</html>